<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: group.php 1062 2010-03-23 20:36:37Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/group.php $
*/


class Group extends GeneralModel {

/******************************************************************************/

var $name = 'Group';

var $hasMany = array(
	'User' => array('dependent' => TRUE, 'isItem' => TRUE)
);

var $displayField = 'name';

var $order = array(
	'Group.name' => 'ASC',
	'Group.id' => 'ASC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

/******************************************************************************/

}


?>